package com.qf.service.impl;

import com.qf.entity.UserType;
import com.qf.mapper.UserTypeMapper;
import com.qf.service.UserTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lenovo
 * @version V1.0
 * @Date 2021/10/5 20:44
 */
@Service
public class UserTypeServiceImpl implements UserTypeService {

    @Autowired
    private UserTypeMapper userTypeMapper;

    @Override
    public List<UserType> findAll() {
        return userTypeMapper.selectByExample(null);
    }
}
